import 'package:flutter/material.dart';

class ContactPage extends StatefulWidget {
  @override
  ContactPageState createState() => ContactPageState();
}

class ContactPageState extends State<ContactPage> {
  @override
  Widget build(BuildContext context) {
    return new ListView(
      children: <Widget>[
        new Container(
          color: Colors.grey[200],
          padding: EdgeInsets.only(top: 10.0),
          child: new Container(
            color: Colors.white,
            height: 50.0,
            child: new ListTile(
              onTap: () {},
              title: new Text("新的朋友"),
              leading: new Icon(
                Icons.add,
                color: Colors.blue,
              ),
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("群聊"),
            leading: new Icon(Icons.group, color: Colors.green),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("标签"),
            leading: new Icon(Icons.label, color: Colors.orange),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("公众号"),
            leading: new Icon(Icons.person, color: Colors.lime),
          ),
        ),
        //////////////////////////////
        new Container(
          color: Colors.grey[200],
          padding: EdgeInsets.only(top: 20.0),
          child: new Container(
            color: Colors.white,
            height: 50.0,
            child: new ListTile(
              onTap: () {},
              title: new Text("papi酱"),
              leading: new Image.asset(
                "images/xk.jpg",
                width: 35.0,
                height: 35.0,
              ),
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("三只小熊"),
            leading: new Image.asset(
              "images/a001.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("德玛西亚之力"),
            leading: new Image.asset(
              "images/a002.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("布吉岛"),
            leading: new Image.asset(
              "images/a003.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("亚克西"),
            leading: new Image.asset(
              "images/a004.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("三只小熊"),
            leading: new Image.asset(
              "images/a001.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("德玛西亚之力"),
            leading: new Image.asset(
              "images/a002.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("布吉岛"),
            leading: new Image.asset(
              "images/a003.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),

        new Divider(
          height: 1.0,
        ),
        new Container(
          color: Colors.white,
          height: 50.0,
          child: new ListTile(
            onTap: () {},
            title: new Text("亚克西"),
            leading: new Image.asset(
              "images/a004.jpg",
              width: 35.0,
              height: 35.0,
            ),
          ),
        ),
      ],
    );
  }
}
